import request from '../utils/request'



//获取系统基本数据
export const reqGetHomePage=()=>request.get(`/admin/getHomePageData`)

//获取每天数据
export const reqGetTodayDataList=(date:string)=>request.get(`/admin/getToDayList/${date}`)

//获取一周座位数据
export const reqGetWeekDataBySeat=(week:string[])=>request.post('/admin/getWeekDataBySeat',week)

//获取一种图书排名
export const reqGetHotBooks=()=>request.get('/admin/getHotBooks')

//获取建议信息
export const reqGetAdivce=()=>request.get('/getAdvice')